<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2.27</title>
</head>

<body>
    <script>
        let a = Array.of()  //[]
        let b = Array.of(undefined) //[undefined]
        let c = Array.of(3) //[3]
        let d = Array.of(1, 2, 3) //[1,2,3]

        console.log(a);
        console.log(b);
        console.log(c);
        console.log(d);
    </script>
</body>

</html>